package com.ruoyi.wms.domain.entity.employee;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 员工薪酬对象 employee_salary
 *
 * @author 邓滔滔
 * @date 2024-11-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("employee_salary")
public class EmployeeSalary extends BaseEntity {

    @Serial
    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 员工ID
     */
    private Long employeeId;
    /**
     * 基本工资-k指标
     */
    private BigDecimal baseSalary;
    /**
     * 津贴-p指标
     */
    private BigDecimal allowance;
    /**
     * 奖金-I指标
     */
    private BigDecimal bonus;
    /**
     * 工资发放状态(0-未发放，1已发放）
     */
    private Integer status;
    /**
     * 扣款
     */
    private BigDecimal deduction;
    /**
     * 实发工资
     */
    private BigDecimal netSalary;
    /**
     * 发薪周期
     */
    private Date payPeriod;
    /**
     * 备注
     */
    private String remarks;

}
